home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / misc / unix / dcalc1_2_c.readme < prev    next >
Encoding:
Text File  |  1994-01-11  |  2.5 KB  |  65 lines

  1. Short: Update! C source (UNIX) Fit files onto diskettes (v1.2)
  2. Type: misc/unix
  3. Author: ukrbake@prl.philips.co.uk
  4. Uploader: ukrbake@prl.philips.co.uk
  5.  
  6.     dcalc v1.2
  7.     ----------
  8. This is a short(-ish) C proggy to aid in transferring files from Aminet (or
  9. wherever) onto PC format disks, and back to an amiga.  It is very simple to
  10. use, but is flexible too.
  11.  
  12. The file is in UNIX compress format - use "uncompress dcalc.c" to get the
  13. source.  The source is ANSI C, and calls three UNIX commands.. ls, rm, mv.
  14. The commands can easily be altered to suit your system.
  15.  
  16. dcalc will scan directories (default is current), include and exclude files,
  17. and then fit them onto disks as best it can.  You can specify the size of
  18. disk, directory, and a load of stuff. 
  19.  
  20. Here's the help text from the program itself:
  21. ( options marked *NEW* are new in v1.1 )
  22.  
  23. Usage:  dcalc [ path ... ] [ option ... ]
  24.  path = path to scan for files
  25.  option is one of the following:
  26.    -hd = fit onto IBM 1.44MB high density disks
  27.    -dd = fit onto IBM 720K disks (default)
  28.    -s NNN = fit onto disk of size NNN
  29.    -reserve NNN = reserve NNN of the disk for filesystem, etc.   *NEW*
  30.              (default is 1% to be safer)             *FIXED*
  31.    -o file = send output to file
  32.    -ls path ... = add more paths
  33.    -in "pat" = include files matching pattern (* ? wild)
  34.    -ex "pat" = exclude files matching pattern
  35.    -rename = rename files for easy copying (A_file1 B_file2 ...) 
  36.    -backup = use MSDOS backup mode, fit files across disks
  37.   NNN is I  for I     bytes (  400 ==     400 bytes)        *NEW*
  38.          Ik for I kilobytes (   1k ==    1024 bytes)        *NEW*
  39.          Fm for F megabytes ( 1.4m == 1048576 bytes)        *NEW*
  40.          Fp for F % of disk space (cannot be used with -s)    *NEW* *FIXED*
  41.  I is any integer (whole number), F any float (real number)
  42.  
  43. The pattern matching needs to have "" around it, or I find that it is expanded
  44. before being passed onto the program.  * matches any characters, and ? matches
  45. any single character.
  46.  
  47. The source and program are freeware, and may be modified at will. I accept no
  48. responsibility for this program, and the use of it.  It may not be distributed
  49. for more than a nominal media and copying fee.
  50.  
  51. History
  52. -------
  53. v1.0
  54. First released version.
  55. v1.1
  56. This fixes a bug with lettering disks, and adds more flexibility to specifying
  57. disk size. ( Now handles bytes, kbytes, Mbytes ) . Added -reserve , to stop
  58. disks from being filled dangerously full, can leave space for filesystem.
  59. v1.2
  60. Fixed more bugs with reserving space and using % of disks.
  61.  
  62.  Mark Baker.
  63.  
  64. Send bug reports, etc.. to ukrbake@prl.philips.co.uk
  65.